from django.urls import path

from . import views

urlpatterns = [
    path('login/', views.user_login, name='login'),
    path('register/', views.register, name='register'),
    path('get_info/', views.get_info, name='get_info'),
    path('modify_pwd/', views.modify_password, name='modify_pwd'),
    path('query_user/', views.query_user, name='query_user'),
    path('query_superuser/', views.query_superuser, name='query_superuser'),
    path('modify_info/', views.modify_info, name='modify_info'),
    path('add_group/', views.add_group, name='add_group'),
    path('modify_group/', views.modify_group, name='modify_group'),
    path('delete_group/', views.delete_group, name='delete_group'),
    path('query_group/', views.query_group, name='query_group'),
    path('query_group_member/', views.query_group_member, name='query_group_member'),
    path('add_group_member/', views.add_group_member, name='add_group_member'),
    path('delete_group_member/', views.delete_group_member, name='delete_group_member'),
    path('add_group_members/', views.add_group_members, name='add_group_members'),
    path('search_group_member/', views.search_group_member, name='search_group_member'),
    path('search_group/', views.search_group, name='search_group'),
]
